package com.dudsbury.database;

public class MyUser {

	private String userID;
	private String userName;
	private String userPassword;
	
	//Giving parameters constants
	private static final int USER_ID = 0;
	private static final int USER_NAME = 1;
	private static final int USER_PASSWORD = 2;
	
	String data[];
	//Default constructor method
	public MyUser() {
		
		
	}
	
	//public constructor method with an array
	
	public MyUser(String data[]){
		
		this.data=data;
		
		this.userID=data[USER_ID];
		this.userName=data[USER_NAME];
		this.userPassword=data[USER_PASSWORD];
	}
	
	//setters and getters
public String getUserID(){
		
		return userID;
	}
	
	public void setUserID(String userID){
		
		this.userID=userID;
	}
	
	public String getUserName(){
		
		return userName;
	}
	
	public void setUserName(String userName){
		
		this.userName=userName;
	}
	
public String getUserPassword(){
		
		return userPassword;
	}
	
	public void setUserPassword(String userPassword){
		
		this.userPassword=userPassword;
	}
}
